package com.wl.service;

import com.aliyuncs.exceptions.ClientException;

import java.util.Map;

/**
 * @program: treeHole
 * @author: 吴磊
 * @create: 2021-07-06 22:33
 */
public interface SendSmsService {

    /**
     * 获取手机验证码
     *
     * @param telPhone
     * @return
     */
    Map<String, Object> getSmsCode(String telPhone) throws ClientException;


    /**
     * 验证验证码
     *
     * @param telPhone
     * @param smsCode
     * @return
     */
    Map<String, Object> validationSmsCode(String telPhone, String smsCode);
}
